$(function () {

    $("#list-li1 span").css({"color":"#F16B80"});
    $("#list-li1 ").css({"border-bottom":"solid #F16B80 1px"})
    $("#list-li1").click(function () {
        $(this).css({"border-bottom":"solid #F16B80 1px"})
        $("#list-li2").css({"border-bottom":"none"})
        $("#list-li2 span").css({"color":"#333"})
        $("#list-li1 span").css({"color":"#F16B80"})

    })
    $("#list-li2").click(function () {
        $(this).css({"border-bottom":"solid #F16B80 1px"})
        $("#list-li1").css({"border-bottom":"none"})
        $("#list-li1 span").css({"color":"#333"})
        $("#list-li2 span").css({"color":"#F16B80"})
        $(".img-display").hide();
       /* $.ajax({
            type:"get",
            url:"/com/comlistimg.json",
            data:{id:1},
            dateType:"json",
            success:function (result) {
                location.href="/jsp/MyRating.jsp";
            }
        })*/

    })


})